#!/bin/bash

#! debag
# . "/home/st/.bashrc"
#!

filename="${PATH_MAIN_REPO_FN_DIR}/dir_00000/00000.sh"

echo -e "${HLIGHT}--- start file: $filename with args: $@ ---${NORMAL}" # start file

#e_exer "Questions? See far!" "$filename" "$LINENO"

#up_lib_git

00000() {

    local FNN=${FUNCNAME[0]}
    local ORIGO_DIR=${PATH_MAIN_REPO_FN_DIR}/dir_$FNN
    local PPWD=$PWD
    local FLN=$0
    local ARGS=($@)
    # local NARGS=$#
    # last par ${!#}
    # all param as "unied word" $*
    # all param as "summ singl words $@"
    # TODO that

    #{ctrl_args_reciver}

    #* echo -e "${CYAN}---$FNN() $* ---${NORMAL}" #started functions

    #? c_up "$ORIGO_DIR/_$FNN/_sh/" 1>/dev/null

    cd_h "$PPWD" 1>/dev/null

    #!function body===================================================================
    #!function body===============================================
    #!function body======================
    #? amount_arg $# min_args max_args "in $FNN :: $*"
    #? USE 00000() -echo -deb

    # path_name="$1"

    # if [ $(is_root_01 "$1") -ne 1 ]; then
    #     path_name=$PPWD/$path_name
    # fi

    echo_00000=0
    debug_00000=0
    unset errmes_00000
    unset outmes_00000

    garg_ ${FUNCNAME[0]} $@ 1>/dev/null
    echo_deb_ ${echo_00000} "cntl echo_deb_ mode in ${FNN}"
    if [ ${debug_00000} -eq 1 ]; then
        echo "DEBUG MODE in ${FNN}"
        echo "\$errmes_00000: \"$errmes_00000\""
        echo "\$outmes_00000: \"$outmes_00000\""
    fi

    # altlinux_00000() {
    #     :
    # }

    # fedora_00000() {
    #     :
    # }

    # if [ $PLT_COGOS == "altlinux" ]; then
    #     altlinux_00000
    # fi

    # if [ $PLT_COGOS == "fedora" ]; then
    #     fedora_00000
    # fi

    echo_00000=0
    debug_00000=0
    unset errmes_00000
    unset errmes_00000

    #!function body======================
    #!function body===============================================
    #!function body===================================================================

    cd "$PPWD"

}

# 00000 @

unset filename
